#ifndef _TIMETHIS_H_
#define _TIMETHIS_H_
#include <sys/time.h>
#include <time.h>
#include <stdio.h>

typedef struct tt_s {
  long real;
  long realt;
  #ifdef _POSIX_CPUTIME
    long proc;
    long proct;
  #endif
  #ifdef _POSIX_THREAD_CPUTIME
    long thrd;
    long thrdt;
  #endif
} tt_t;

#define FULL 1


void utime(long*);
void uprint(long*);
void cputime(long*);
void cpuprint(long*);

int utime_(long*,int);
int uprint_(long*,int);
int cputime_(long*,int);
int cpuprint_(long*,int);

void ntime(tt_t*);
void nprint(tt_t*);
void nzero(tt_t*,int);

int ntime_(tt_t*,int);
int nprint_(tt_t*,int);
int nzero_(tt_t*,int,int);

#endif
